package com.teacher.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teacher.pojo.dto.job.JobGetDto;
import com.teacher.pojo.entity.Job;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teacher.pojo.vo.job.JobGetVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 学生干部任职 Mapper 接口
 * </p>
 *
 * @author zfm
 * @since 2021-08-04
 */
public interface JobMapper extends BaseMapper<Job> {

    /**
     * 查询学生干部任职
     *
     * @param page
     * @param dto
     * @return
     */
    IPage<JobGetVo> getPage(@Param("page") Page<JobGetVo> page, @Param("dto") JobGetDto dto);
}
